﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EntityFramework.ServiceLayer
{
    public static class EntityToObjectNameMappings
    {
        private static IDictionary<Type, string> Mappings = new Dictionary<Type, string>() 
        {
        };

        public static string GetObjectName(Type type)
        {
            if (Mappings.ContainsKey(type))
            {
                return Mappings[type];
            }
            else
            {
                return type.Name;
            }
        }
    }
}
